#ifndef NEOSCROLLBARSTYLE_H
#define NEOSCROLLBARSTYLE_H

#include "stdafx.h"
#include <QProxyStyle>

class NeoScrollBarStyle : public QProxyStyle
{
public:
    NeoScrollBarStyle(QStyle *style = nullptr);
    NeoScrollBarStyle(const QString &key);
    ~NeoScrollBarStyle();

    void drawComplexControl(ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget = nullptr) const override;
    QRect subControlRect(ComplexControl control, const QStyleOptionComplex *option, SubControl subControl, const QWidget *widget = nullptr) const override;
    QStyle::SubControl hitTestComplexControl(ComplexControl control, const QStyleOptionComplex *option, const QPoint &pos, const QWidget *widget = nullptr) const override;
    int pixelMetric(PixelMetric metric, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const override;
};

#endif